package com.shop.loan.model.vo;

import com.shop.loan.model.entity.ContractByMybatis;
import com.shop.loan.model.entity.LoanOrderBillByMybatis;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;
import java.util.Set;

@ApiModel("订单确认返回")
@Data
public class CheckOrderRes {

    @ApiModelProperty(name = "totalPrice", value = "总金额", dataType = "double", example = "1")
    private BigDecimal totalPrice;

    @ApiModelProperty(name = "unitPrice", value = "单价", dataType = "double", example = "1")
    private BigDecimal unitPrice;

    @ApiModelProperty(name = "logistics", value = "是否包邮", dataType = "boolean", example = "1")
    private Boolean logistics;

    @ApiModelProperty(name = "pledgeMoney", value = "首款", dataType = "double", example = "1")
    private BigDecimal pledgeMoney;

    @ApiModelProperty(name = "loanMoney", value = "借款金额", dataType = "double", example = "1")
    private BigDecimal loanMoney;
    @ApiModelProperty(name = "loanRate", value = "借款利息", dataType = "double", example = "1")
    private BigDecimal loanRate;
    @ApiModelProperty(name = "loanDay", value = "借款天数", dataType = "double", example = "1")
    private Integer loanDay;
    @ApiModelProperty(name = "loanPeriod", value = "借款期数", dataType = "double", example = "1")
    private Integer loanPeriod;
    @ApiModelProperty(name = "bills", value = "分期账单", dataType = "array", example = "[]")
    private List<LoanOrderBillByMybatis> bills;

    List<ContractByMybatis> contracts;
}
